<template>
  <span style="text-decoration:underline;" @click="goToIntegration">{{$t('custom.reports.goToConnect')}}</span>
</template>

<script>
export default {
  name: 'GoToConnect',
  methods: {
    goToIntegration () {
      this.$root.eventBus.$emit('closeDialog')
      this.$router.replace({ path: '/Integrations', query: { scroll: 'wait' } })
    }
  }
}
</script>

<style lang="scss">
.go-to-connect {
  padding: 16px 0 10px;
  color: #404040;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}
</style>
